<?php

$CONFIG = array();

//database
$config2 = include CON_PATH . 'Database.php';
$CONFIG['database'] = array(
    "dbname" => '',
    "host" => 'localhost',
    "user" => '',
    "password" => '',
    "charset" => 'utf8',
    "port" => 3306,
    "prefix" => '',
    "type" => 'mysql'
);
if (is_array($config2) && !empty($config2)){
    $CONFIG['database'] = array_merge($CONFIG['database'],$config2);
}

$CONFIG['template'] = [
    'tag_start' => '<',
    'tag_end'   => '>',
    'var_start' => '<{',
    'var_end'   => '}>',
];


$CONFIG['hook'] = [
    'is_save' => true
];

return $CONFIG;